package com.atguigu.decorator;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 被装饰者 - 缓冲层（继承抽象类Drink）
 * @create: 2022-02-17 14:49
 **/
public class Coffee extends Drink{
    @Override
    public float cost() {
        return super.getPrice();
    }
}
